<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:rich="http://richfaces.org/rich">
      
<ui:composition template="/restrito/template.xhtml">

<ui:define name="menu"><ui:include src="menu.xhtml"/></ui:define>

<ui:define name="corpo">
    <div class="container">
    <ui:include src="../../restrito/mensagem.xhtml"/>
    <h:form id="f" styleClass="form-horizontal">
    	<fieldset>
    	<legend>Recuperação de senha</legend>
        <div class="control-group">
  			<h:outputLabel for="email" value="E-mail" styleClass="control-label"/>
  			<div class="controls">
  				<h:inputText id="email" value="#{loginProfissionalMB.email}" maxlength="50" required="true" styleClass="input-xlarge">
  					<f:validator validatorId="validadorEmail" />
  				</h:inputText>
  				<rich:message for="email"/>
  			</div>
		</div>
		<div class="form-actions">
			<h:commandButton action="#{loginProfissionalMB.resetarSenha}" value="Gerar nova senha" styleClass="btn-large btn-primary"/>
		</div>
		</fieldset>
	</h:form>
	</div>
</ui:define>
</ui:composition>
</html>
